<?php
        /**
        * Autogen @ 2012-25-12 15:37:16
        * mapping to 'category' table of db 
        */
        class Model_Category extends Tiri_Model{
            public function __construct(){
                $this -> _table = 'category';
                $this -> _primary_key = 'id';
                $this -> _fields= array(
                'id',
                'parent_id',
                'category');
            }
        }
        ?>